Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop deprecated lxd_container and lxd_container_file resources #377

Merged
merged 9 commits into from
Nov 15, 2023

Conversation

simondeziel
Copy link
Member

@simondeziel simondeziel commented Nov 14, 2023

Depends on #348

The lxd_publish_image and lxd_snapshot resources still use the legacy names container and container_name but I left them for another PR.

@simondeziel simondeziel force-pushed the drop-lxd_container branch 8 times, most recently from bc5cbac to ae3a4fb Compare November 14, 2023 20:09
@simondeziel simondeziel marked this pull request as ready for review November 14, 2023 21:00
Copy link
Member

@MusicDin MusicDin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice :)

Copy link
Collaborator

@adamcstephens adamcstephens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🍕

@adamcstephens
Copy link
Collaborator

The lxd_publish_image and lxd_snapshot resources still use the legacy names container and container_name but I left them for another PR.

Do you plan to create another PR addressing these?

@simondeziel
Copy link
Member Author

The lxd_publish_image and lxd_snapshot resources still use the legacy names container and container_name but I left them for another PR.

Do you plan to create another PR addressing these?

Not in the short term so I wouldn't delay the 2.0 provider release for that.

@adamcstephens
Copy link
Collaborator

@simondeziel can you rebase this?

@adamcstephens adamcstephens changed the title Drop lxd_container and lxd_container_file resources Drop deprecated lxd_container and lxd_container_file resources Nov 15, 2023
Those have been respectively replaced by lxd_instance and
lxd_instance_file. This is more consistent because LXD has
been supporting VMs in addition to containers since LXD 3.19.

Signed-off-by: Simon Deziel <[email protected]>
@adamcstephens
Copy link
Collaborator

Added #380 to track the needed deprecations so we don't forget about them. I agree we can handle this post-2.0, and would need to anyway since we still have to have a deprecation cycle.

Copy link
Collaborator

@adamcstephens adamcstephens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍕

@adamcstephens adamcstephens merged commit 18bf83a into terraform-lxd:main Nov 15, 2023
4 checks passed
@simondeziel simondeziel deleted the drop-lxd_container branch November 15, 2023 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants